package org.yuyao.biz1.providerclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 *
 */
@FeignClient(contextId = "remoteUserClient",value= "yuyao-system",fallbackFactory = RemoteUserClientFallbackFactory.class)
public interface RemoteUserClient {

    @GetMapping("/user/getUsername")
   String getUserName();
}
